<!DOCTYPE html>
<html class="um landscape min-width-240px min-width-320px min-width-480px min-width-768px min-width-1024px">
<head>
    <title></title>
    <meta charset="utf-8">
    <meta name="viewport" content="target-densitydpi=device-dpi, width=device-width, initial-scale=1, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0">    <link rel="stylesheet" href="jgp/css/project/ui-color-v3.css">
    <link rel="stylesheet" href="jgp/css/project/ui-list-v3.css">
    <link rel="stylesheet" href="jgp/css/project/ui-input-v3.css">
    <link rel="stylesheet" href="jgp/css/project/ui-btn-v3.css">
    <link rel="stylesheet" href="jgp/css/project/ui-res-v3.css">
    <link rel="stylesheet" href="jgp/css/ui-color.css">
    <link rel="stylesheet" href="jgp/css/ui-res.css">
    <link rel="stylesheet" href="jgp/css/ui-input.css">
    <link rel="stylesheet" href="jgp/css/ui-base.css">
    <link rel="stylesheet" href="jgp/css/ui-box.css">
    <link rel="stylesheet" href="jgp/css/project/style.css">
	<link rel="stylesheet" href="jgp/css/my.css">
	<link rel="stylesheet" href="jgp/css/iBox.css">
	
	
	<script src="jgp/js/zy_tmpl.js"></script>
	<script src="jgp/js/zy_control.js"></script>
    <script src="jgp/js/zy_click.js"></script>
    <script src="jgp/js/common.js"></script>
    <script src="jgp/js/zy_json.js"></script>
    <script src="jgp/js/zy_event.js"></script>
	<script src="jgp/js/peibeidan.js"></script>
	<script src="jgp/js/jquery-1.8.3.min.js"></script>
	<script src="jgp/js/pbd.js"></script>
	<script src="jgp/js/iBox.js"></script>
	<script src="js/talkingdata.js"></script>
</head>
<body id="body" class="um-vp  ub-ver " ontouchstart>
        <div class="ub ub-ver t-bla " id="div2" >
            <div class=" uhide t-bla">
                <div class=" uinn uc-l1 c-wh umar-l umar-t umar-b">
                    <div  class="ub-f1 uinn1 ulev-1 uc-l1">乘务长签名:</div>
                </div>
               <div class=" uinn1 ub-f1 uc-r1 t-wh ubt ubb ubr umar-r umar-t umar-b">
                    <div  class="uinn ulev-1 uc-l1">XXXXXXXXX</div>
                </div>
            </div>
            <!--块容器结束-->
        </div>
         <div class="umar-a uhide">清洁工工作评价</div>
        <div class="ub-f1 ub ub-pc ub-ver ub-ac" style="height: 80%">
           <img id="yes" src="jgp/yes.png"  style="width: 8em;margin-bottom: 2em;display: none"/>
           <img id="no" src="jgp/no.png"  style="width: 8em;margin-bottom: 2em;display: none"/>
           <div id="EXELLENT" class="btn uhide t-wh ub-ac ub-pc bc-btn  uinn uc-a "  style="width: 30%;background: #00CD00" id="btn">
            	非常满意
           </div>
           <div id="GOOD" class="btn uhide ub-ac ub-pc bc-btn uba uinn uc-a c-blu7"  style="width: 30%" id="btn">
                                           比较满意
           </div>
           <div id="NORMAL" class="btn uhide ub-ac ub-pc bc-btn uba uinn uc-a umar-t1 c-blu"  style="width: 30%" id="btn">
                                                 一般
           </div>
           <div id="WORSE" class="btn uhide ub-ac ub-pc bc-btn uba uinn uc-a umar-t1 c-blu"  style="width: 30%" id="btn">
                                                 不满意
           </div>
           <div id="WORST" class="btn uhide ub-ac ub-pc bc-btn uba uinn uc-a umar-t1 c-red"  style="width: 30%" id="btn">
                                                 非常不满意
           </div>
           <div id="isNo" class="btn uhide ub-ac ub-pc bc-btn uba uinn uc-a umar-t1 c-gra"  style="width: 30%" id="btn">
                                                 暂未评价
           </div>
        </div>
</body>
<script>
zy_init();
window.uexOnload=function(type){
	if(!type){
       var arrivalCode= getStorage("fis");//目的地
       var carrier =  getStorage("HBH").substring(0,2);//承运人
       var departCode = getStorage("DEPTO");//起飞地
       var flightDate = getStorage("dateTime");//飞行日期
       var flightNo = getStorage("HBH").substring(2);//航班号           
       var jsonToSer ={'arrivalCode':arrivalCode,'carrier':carrier,'departCode':departCode,'flightDate':flightDate,'flightNo':flightNo};
      
       //var jsonToSer ={"arrivalCode":"XIY","carrier":"MU","departCode":"PVG","flightDate":"2017-05-04","flightNo":"5009"};
	   querySatis(JSON.stringify(jsonToSer));
	}
}
	  //更新配备单
        function querySatis(jsonToSer){
            var param1  = {"jsonDate":jsonToSer};
            $.ajax({
            url : querySatisfactory,
            type : "post",
            data : param1,
            dataType:"json",   
            success: function(data){
                 if (data.status==0) {
                     var type = data.deliverInvoices.satisfactory.trim();
                     if(type=="EXELLENT"){
                         $("#EXELLENT").removeClass("uhide");
                         $("#yes").show();
                     }else if(type=="GOOD"){
                          $("#GOOD").removeClass("uhide");
                          $("#yes").show();
                     }
                     else if(type=="NORMAL"){
                          $("#NORMAL").removeClass("uhide");
                          $("#yes").show();
                     }
                     else if(type=="WORSE"){
                          $("#WORSE").removeClass("uhide");
                          $("#no").show();
                     }
                     else if(type=="WORST"){
                          $("#WORST").removeClass("uhide");
                          $("#no").show();
                     }else{
                          $("#isNo").removeClass("uhide");
                          //$("#no").show();
                     }
                    }else if(data.status==-1){
                       alert(data.msg);
                    }else{
                         $.iBoxMsg("网络异常，请重试");
                    }
               },
               error: function(data){
                 $.iBoxMsg("网络异常，请稍后重试！");
               }
            })
        }
</script>    
</html>
